<template>
  <Swiper class="detail-swiper">
    <SwiperItem v-for="(itme, index) in categories" :key="index">
      <img :src="itme" alt="" />
    </SwiperItem>
  </Swiper>
</template>

<script>
import { Swiper, SwiperItem } from "components/common/swiper";
export default {
  name: "detailswiper",
  components: {
    Swiper,
    SwiperItem,
  },
  props: {
    categories: {
      type: Array,
      default() {
        return [];
      },
    },
  },
};
</script>

<style>
.detail-swiper {
  height: 300px;
  overflow: hidden;
}
</style>